package com.seleniti.enpareja.controller.model.integration.service;

import java.util.Date;
import java.util.List;
import java.util.Set;

import org.ioc.commons.integration.common.RequestManager;
import org.ioc.commons.integration.service.Service;

import com.seleniti.enpareja.controller.model.integration.database.domain.Food;

public interface MealService extends Service {

	RequestManager<Food> find(String id);

	RequestManager<Void> delete(Food element);

	RequestManager<Void> createOrReplace(Date date, String lunch, String dinner);

	RequestManager<List<Food>> getList(Date from, Date to, boolean createIfMissing);

	RequestManager<Void> deleteAll(Set<Food> selection);

	RequestManager<Void> switchMeals(Food meal1, boolean switchDinnerMeal1, Food meal2, boolean switchDinnerMeal2);
}
